package com.insleton.admin.employee.service;

import java.util.List;

public interface GenericService<T, ID> {
    T save(T t);

    T get(ID id);

    T update(T t);

    int delete(T t);

    int deleteById(ID id);

    List<T> queryList(T t);

    List<T> pagedList(T t);
}
